widget: Hook GTK_PHASE_TARGET controllers to the default event handlers
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 10 May 2014 18:52:17 +0000 (20:52 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:30 +0000 (19:54 +0200)
commitdd164502f733bb587bc07f46a401b00bd5422622
tree1c405f820868fbb2db62ef58d7229e767a811964
parent1c48cc253d30526e7c5eb920e3e562f8e38a526c
widget: Hook GTK_PHASE_TARGET controllers to the default event handlers

Just call the controllers on that phase if the default widget handlers
are run.

For compatibility reasons, in the touch event handler, let the pointer
emulating touch be transformed to a pointer event as usual, in order to
have widget handlers a chance to run at all. If they have to be managed
by a controller in that phase, it'll have to be through the default pointer
event handlers.
gtk/gtkwidget.c